/**
 * @file World.h
 * @author  Aljosa Osep <aljosa.osep@gmail.com>
 * @version 1.0
 *
 * @section LICENSE
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details at
 * http://www.gnu.org/copyleft/gpl.html
 *
 * @section DESCRIPTION
 *
 * This abstract class represents the game world.
 */

#ifndef _WORLD_H
#define	_WORLD_H

#include "Vector3.h"
#include "SceneNode.h"

#include <map>

namespace xEngine
{
    namespace CoreSystem
    {
        using namespace xEngine::PlatformIndependent;


        /** \brief This abstract class represents the game world
         *
         * Class defines environment game takes place in.
         */
        class World : public SceneNode{
        public:
            World(); // Default constructor
            virtual ~World(); // Destructor

            virtual void init();
            virtual void shutDown();

            /*virtual void draw();
            virtual void update();
            virtual void animate();*/

            SceneNode* getObject(string name);
            void insertToObjects(SceneNode *node);

          
        protected:
          //  map<string, SceneNode*> objects; // All objects in the world, hash table

        };
    }
}

#endif	/* _WORLD_H */

